 /* 
 * File:   cSentinel.h
 * Author: josep
 *
 * Created on 24 / desembre / 2010, 01:01
 */

#ifndef CAUTONOMOUS_H
#define	CAUTONOMOUS_H

#include "cLateralAgent.h"


class cAutonomousAgent:public cLateralAgent {
public:
    enum Estado {OFF=0, MOVING_LEFT, MOVING_RIGHT, DEATH};
    cAutonomousAgent();
    cAutonomousAgent(const cAutonomousAgent& orig);
    virtual ~cAutonomousAgent();
    virtual void on();
    virtual void off();
    virtual bool isDead();
    bool isOff();
protected:
    virtual int ChangeFramestate(int, int, int);
    virtual void ToDie();
private:

};

#endif	/* CAUTONOMOUS_H */

